import { Text, useTheme } from '@aws-amplify/ui-react';
// use any CSS value
export const TypographyStylePropExample = () => {
return (
Typography Styling Example
);
};
// use a design token from the theme object
export const TypographyThemeTokenExample = () => {
const { tokens } = useTheme();
return (
Typography Styling Example
);
};
// use a design token name
export const TypographyTokenNameExample = () => {
return (
Typography Styling Example
);
};